package cn.com.yx.ms.persistence;

import cn.com.yx.ms.application.web.ApiQueryBase;
import cn.com.yx.ms.domain.dbmodel.DevCatalog;
import cn.com.yx.ms.domain.dbmodel.StlDevMap;
import cn.com.yx.ms.domain.dbmodel.StlMain;
import cn.com.yx.ms.domain.dev.DevNameModel;
import cn.com.yx.ms.domain.release.ReleaseStyleModel;
import cn.com.yx.ms.domain.release.ReleaseStyleModelControlModel;
import cn.com.yx.ms.domain.stl.StlJmControlModel;
import cn.com.yx.ms.domain.stl.StlJmModel;
import cn.com.yx.ms.domain.stl.StlMainModel;
import cn.com.yx.ms.domain.stl.StlMainUpdateModel;

import java.util.List;

public interface StlMainMapper {
    int deleteByPrimaryKey(String guid);

    int insert(StlMain record);

    int insertSelective(StlMain record);

    StlMain selectByPrimaryKey(String guid);

    int updateByPrimaryKeySelective(StlMain record);

    int updateByPrimaryKey(StlMain record);

    List<StlMainModel> findStlMain(ApiQueryBase apiQueryBase);

    int updateByGuid(List<String> list);

    List<StlJmControlModel> selectALLJmMain(StlJmModel stlJmModel);

    List<StlJmControlModel> getJmByStyleid(String styleid);

    List<DevNameModel> getDevSemByStyleid(String style);

    List<DevCatalog> getDevByStyleid(String style);



    List<StlMain> getAllStyles();

    List<StlMainUpdateModel> getAllJmByStyleid(String styleid);

    List<ReleaseStyleModel> findAllReleaseStyleModels(ApiQueryBase apiQueryBase);

    List<ReleaseStyleModel> findReleaseStyleModelsByDevsn(ApiQueryBase apiQueryBase);

    List<ReleaseStyleModelControlModel> findAllReleaseStyleModelControlModel();
}